<?php

function Conectarse()
{

if (!($conexion = mysql_connect('localhost:3306','root','')))
{
	die('No pudo conectarse al servidor: '. mysql_error());
}

@mysql_select_db('redes') or die( "Unable to select database");

return $conexion;
}

?>
